//---------------------------------------------------------------------
// <copyright file="MessageReaderSettingsArgs.cs" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------

namespace System.Data.Services.Client
{
    using Microsoft.Data.OData;

    /// <summary>
    /// Arguments used to configure the odata message reader settings.
    /// </summary>
    public class MessageReaderSettingsArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MessageReaderSettingsArgs"/> class.
        /// </summary>
        /// <param name="settings">The settings.</param>
        public MessageReaderSettingsArgs(ODataMessageReaderSettingsBase settings)
        {
            WebUtil.CheckArgumentNull(settings, "settings");

            this.Settings = settings;
        }

        /// <summary>
        /// Gets the settings.
        /// </summary>
        public ODataMessageReaderSettingsBase Settings { get; private set; }
    }
}
